package top.soning.disk.service;

import org.apache.ibatis.javassist.NotFoundException;
import org.springframework.web.multipart.MultipartFile;
import top.soning.disk.entity.FileEntity;

import java.io.IOException;
import java.util.Map;

public interface FileUploadService {
    public  FileEntity start (MultipartFile file);
    public int addFileRecordToDB(FileEntity fileEntity);
    public void saveSingleFile(MultipartFile file) throws NotFoundException, IOException;
}
